package com.ztsoft.user.pojo.entity.project;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("p_construction")
@Accessors(chain = true)
@ApiModel(value = "Construction", description = "班组人员信息实体")
public class Construction implements Serializable {
    // 主键
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    // 姓名
    private String name;
    // 性别
    private String sex;
    // 身份证
    private String idCard;
    // 联系电话
    private String phone;
    // 所属公司
    private String company;
    // 岗位
    private String post;
    // 备注
    private String remark;
    // 逻辑删除（0未删除、1已删除）
    @TableLogic
    private Integer isDeleted;
}